package com.kkb.mapper;

import com.kkb.pojo.ChartData;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface UserChartMapper {
    /**
     * 获取用户注册图表数据
     */
    List<ChartData> getChartData(Date startDate, Date endDate);
    /**
     * 获取人均消费图表数据
     */
    List<ChartData> getConsumption(Date startDate, Date endDate);
}
